#include <stdio.h>
#define N 10

int main() {
	int a[N], m, n;
	for (m = 0; m < N; m++)
		scanf("%d", &a[m]);
	for (m = 0; m < N; m++) {
		for (n = 0; n < N - m; n++)
			if (a[n] > a[n + 1]) {
				a[n] = a[n] + a[n + 1];
				a[n + 1] = a[n] - a[n + 1];
				a[n] = a[n] - a[n + 1];
			}
	}
	for (m = 0; m < N; m++)
		printf("%-4d", a[m]);
}
